﻿namespace Stock.Model
{
    public class AppConst
    {
        public const string APP_VERSION = "1.5.2";

        public const string GITEE_HOME_URL = "https://gitee.com";
        public const string GITEE_STOCK_URL = "https://gitee.com/rocching/stock";
        public const string GITEE_NAME = "GITEE";

        public const string EASY_MONEY_URL = "http://push2.eastmoney.com";
        public const string EASY_MONEY_DETAIL1_URL = "http://quote.eastmoney.com/basic/full.html?mcid={0}.{1}&type=r";
        public const string EASY_MONEY_DETAIL2_URL = "http://quote.eastmoney.com/basic/h5chart-iframe.html?code={0}&market={1}&type=r";
        public const string EASY_MONEY_SEARCH_URL = "http://searchapi.eastmoney.com/api/suggest/get?type=14&token=D43BF722C8E33BDC906FB84D85E326E8&markettype=&mktnum=&jys=&classify=&securitytype=&status=&count=10&cb=&";
        public const string EASY_MONEY_FUND_UPDATE_URL = "https://fundgz.1234567.com.cn/js/{0}.js?_={1}";
        public const string EASY_MONEY_FUND_INFO_URL = "http://fundf10.eastmoney.com/jbgk_{0}.html";
        public const string EASY_MONEY_FUND_MEMBER_URL = "http://fundf10.eastmoney.com/FundArchivesDatas.aspx?type=jjcc&code={0}&topline=10&year=&month=&rt={1}";
        public const string EASY_MONEY_FUND_JZ_URL = "https://api.fund.eastmoney.com/f10/lsjz?callback=&fundCode={0}&pageIndex={1}&pageSize={2}&_={3}";
        public const string EASY_MONEY_FUND_API_HOST = "api.fund.eastmoney.com";
        public const string EASY_MONEY_FUND__API_URL = "https://fundf10.eastmoney.com/";

        public const string VALUE_ZHANG_COLOR = "#f00";
        public const string VALUE_DIE_COLOR = "#090";
        public const string VALUE_SPRITE_BG_COLOR = "black";
        public const string VALUE_H = "h";
        public const int VALUE_VERSION_INTERVAL = 600000;
        public const int VALUE_STOCK_LIST_MAX_COUNT = 500;

        public const string RES_KEY_ZHANG_COLOR = "ZhangColor";
        public const string RES_KEY_DIE_COLOR = "DieColor";
        public const string RES_KEY_SPRITE_BG_COLOR = "SpriteBgColor";

        public const string RES_KEY_EYE_OPEN = "EyeOpenImg";
        public const string RES_KEY_EYE_CLOSE = "EyeCloseImg";

        public const string RES_KEY_ZHANG_BRUSH = "ZhangBrush";
        public const string RES_KEY_DIE_BRUSH = "DieBrush";
        public const string RES_KEY_SPRITE_BG_BRUSH = "SpriteBgBrush";

        public const string TOKEN_NOTIFY_ICON = "NotifyIconToken";
        public const string TOKEN_ADD_STOCK = "AddStockToken";

        public const string NAME_STOCK_COST_PRICE = "CostPriceString";
        public const string NAME_STOCK_NUMBER = "NumberString";

        public const string TEXT_APP_EN_NAME = "Stock";
        public const string TEXT_APP_UPDATER_EN_NAME = "Stock.Updater";
        public const string TEXT_APP_DATA_DIR = "Data/";
        public const string TEXT_APP_NAME = "今日股票";
        public const string TEXT_APP_DESCRIPTION = "上班摸鱼必备";
        public const string TEXT_APP_COPY_RIGHT = "Roc Copyright ©  2021";
        public const string TEXT_APP_UPDATE_NAME = "今日股票升级程序";

        public const string TEXT_APP_UPDATE_TITLE = "今日股票 - 在线升级";
        public const string TEXT_UPDATE_NOW = "正在升级";
        public const string TEXT_UPDATE_BEHIND = "后台升级";
        public const string TEXT_CHECK_NOW = "正在检查...";
        public const string TEXT_GOOD = "好的";
        public const string TEXT_UPDATE_COMPLETED = "升级完成";
        public const string TEXT_UPDATE_FAIL = "升级失败";
        public const string TEXT_CURRENT_VERSION_IS_NEW = "今日股票已是最新版本(v{0})\r\n\r\n{1}";
        public const string TEXT_NOT_SUPPORT_UPDATE = "本版本不支持在线升级,请尽快手动更新到最新版本!";

        public const string TEXT_DETAIL = "详情";
        public const string TEXT_DELETE = "删除";
        public const string TEXT_TOP = "置顶";
        public const string TEXT_UP = "向上";
        public const string TEXT_DOWN = "向下";
        public const string TEXT_BOTTOM = "置底";
        public const string TEXT_TREND = "走势";

        public const string TEXT_UPGRADE_1 = "正在下载文件...";
        public const string TEXT_UPGRADE_2 = "正在退出旧版本程序...";
        public const string TEXT_UPGRADE_3 = "正在解压文件...";
        public const string TEXT_UPGRADE_4 = "正在启动新版本程序...";

        public const string TEXT_APP_SCROLL = "热烈庆祝中国共产党成立100周年";

        public const string TEXT_GOOD_LUCK_1 = "相信未来,相信自己";
        public const string TEXT_GOOD_LUCK_2 = "抓住机遇,迎接挑战";
        public const string TEXT_GOOD_LUCK_3 = "美好即将发生,请做好准备";

        public const string TEXT_SAD = "相信未来,相信自己,相信美好即将发生!";
        public const string TEXT_HAPPY = "乘风破浪,披荆斩棘,一切都是那么美好!";

        public const string TEXT_OPEN_SOURCE = "开源地址";
        public const string TEXT_CMD_OPEN = "打开";
        public const string TEXT_CMD_HIDDEN = "隐身";
        public const string TEXT_CMD_EXIT = "退出";
        public const string TEXT_ACTION = "操作";

        public const string TEXT_CONFIRM = "确定";
        public const string TEXT_CACEL = "取消";
        public const string TEXT_RESET = "重置";
        public const string TEXT_UPDATE_ALL_SUCCESS = "股票全部更新成功";
        public const string TEXT_CURRENT_VERSION = "当前版本";
        public const string TEXT_UPDATE_VERSION = "更新版本";
        public const string TEXT_CHECK_UPDATE = "检查更新";
        public const string TEXT_UPDATE_IS_NOW = "发现有新版本[{0}],是否立即更新?\r\n\r\n{1}";

        public const string TEXT_APP_CONFIG = "系统配置";
        public const string TEXT_STOCK_CONFIG = "股票配置";
        public const string TEXT_ADD_STOCK = "添加股票";
        public const string TEXT_CLEAR_STOCK = "清空股票";
        public const string TEXT_DETAIL_STOCK = "股票详情";
        public const string TEXT_TREND_STOCK = "股票走势";
        public const string TEXT_UPDATE_STOCK = "更新股票";
        public const string TEXT_DETAIL_FUND = "基金详情";
        public const string TEXT_FUND_BASE_INFO = "基本信息";
        public const string TEXT_FUND_MEMBER_INFO = "持仓信息";
        public const string TEXT_FUND_JZ_INFO = "净值信息";
        public const string TEXT_NOT_SUPPORT_DETAIL_STOCK = "该基金不支持查看详情!";

        public const string TEXT_TODAY_PRICE = "今日收益";
        public const string TEXT_TOTAL_PRICE = "持有收益";
        public const string TEXT_TOTAL_PRICE_PERCET = "持有收益率";
        public const string TEXT_TOTAL_MARKET_VALUE = "总市值";

        public const string TEXT_DELETE_ASK = "是否要删除该股票?";
        public const string TEXT_DELETE_ALL_ASK = "是否要清空股票列表?";
        public const string TEXT_COME_FISH_MODE = "是否直接进入摸鱼模式?";

        public const string TEXT_ADD_STOCK_ERROR = "添加股票失败,请检查参数是否正确";
        public const string TEXT_ENTER_SEARCH = "回车搜索";
        public const string TEXT_SEARCH_PLACEHOLER = "股票代码/名称/简拼/关键字";
        public const string TEXT_STOCK_CODE = "股票代码";
        public const string TEXT_STOCK_NAME = "股票名称";
        public const string TEXT_STOCK_PRICE = "当前价格";
        public const string TEXT_STOCK_CHANGE = "涨幅值";
        public const string TEXT_STOCK_CHANGE_PERCENT = "涨幅";
        public const string TEXT_STOCK_COST_PRICE = "持仓成本";
        public const string TEXT_STOCK_NUMBER = "持仓数量";
        public const string TEXT_STOCK_UPDATE_TIME = "更新时间";
        public const string TEXT_STOCK_PERCENT = "占净值比例";
        public const string TEXT_STOCK_NUMBER2 = "持股数(万股)";
        public const string TEXT_STOCK_TOTAL_PRICE = "持仓市值(万元)";

        public const string TEXT_FUND_FULL_NAME = "基金全称";
        public const string TEXT_FUND_SHORT_NAME = "基金简称";
        public const string TEXT_FUND_CODE = "基金代码";
        public const string TEXT_FUND_TYPE = "基金类型";
        public const string TEXT_FUND_ISSUE_DATE = "发行日期";
        public const string TEXT_FUND_BUILD_DATE = "成立日期";
        public const string TEXT_FUND_ASSETS_SCALE = "资产规模";
        public const string TEXT_FUND_SHARE_SCALE = "份额规模";
        public const string TEXT_FUND_COMPANY = "基金公司";
        public const string TEXT_FUND_TRUSTEE_SHIP = "基金托管人";
        public const string TEXT_FUND_MANAGER = "基金经理";

        public const string TEXT_FUND_FSRQ = "净值日期";
        public const string TEXT_FUND_DWJZ = "单位净值";
        public const string TEXT_FUND_LJJZ = "累计净值";
        public const string TEXT_FUND_JJZZL = "日增长率";

        public const string TEXT_YES = "是";
        public const string TEXT_NO = "否";
        public const string TEXT_OPEN = "开";
        public const string TEXT_CLOSE = "关";

        public const string TEXT_FIRST_PAGE = "第";
        public const string TEXT_PAGE = "页";
        public const string TEXT_TOTAL = "共";
        public const string TEXT_RECORD = "记录";

        public const string TEXT_INFO_TYPE_GROWL = "弹窗模式";
        public const string TEXT_INFO_TYPE_SPRITE = "可移动模式";

        public const string TEXT_INFO_POSITION_0 = "右上角";
        public const string TEXT_INFO_POSITION_1 = "右中间";
        public const string TEXT_INFO_POSITION_2 = "右下角";

        public const string TEXT_SKIN_0 = "默认";
        public const string TEXT_SKIN_1 = "暗黑";
        public const string TEXT_SKIN_2 = "紫红";

        public const string TEXT_COLOR_PICKER = "颜色选择器";
        public const string TEXT_CONFIG_SKIN = "皮肤";
        public const string TEXT_CONFIG_AutoStart = "开机启动(以管理员身份运行)";
        public const string TEXT_CONFIG_CurrentTimeInterval = "系统时间更新频率(秒)";
        public const string TEXT_CONFIG_NotWorkTimeShowInfo = "非工作时间是否显示信息框";
        public const string TEXT_CONFIG_InfoType = "信息框模式";
        public const string TEXT_CONFIG_InfoPosition = "信息框位置";
        public const string TEXT_CONFIG_InfoShowTimeInterval = "信息框刷新频率(秒)";
        public const string TEXT_CONFIG_InfoWaitTimeInterval = "信息框停留时间(秒)";
        public const string TEXT_CONFIG_SpriteBgColor = "信息框背景颜色值";
        public const string TEXT_CONFIG_StockShowTimeInterval = "股票刷新频率(秒)";
        public const string TEXT_CONFIG_ZhangColor = "股票上涨颜色值";
        public const string TEXT_CONFIG_DieColor = "股票下跌颜色值";
        public const string TEXT_CONFIG_StockHappySwich = "今日涨幅提醒";
        public const string TEXT_CONFIG_StockHappyPercent = "今日涨幅阈值(百分比)";
        public const string TEXT_CONFIG_StockSadSwich = "今日跌幅提醒";
        public const string TEXT_CONFIG_StockSadPercent = "今日跌幅阈值(百分比)";
    }
}
